<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>销售排名</title>
    <meta http-equiv="Xpassworpassword-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
    <link  rel="stylesheet"  href="css/base.css">
    <link rel="stylesheet" href="css/common.css">
    <link  rel="stylesheet"  href="css/shop-page.css">
</head>
<body class="bgcolor">
 <div class="sell-content-box">
    <div class="sell-type-pm">
        <div class="sell-type-left"><span id="js-seniorty">技师排名</span></div>
        <div class="sell-type-right"><span id="xs-seniorty">销售排名</span></div>
        <div class="cb"></div>
    </div>
    <div class="sell-date-box">
        <div class="sell-date-pm">
            <div class="sell-date-cont">
                <div class="sell-date-day"><span id="date-day">日</span></div>
                <div class="sell-date-year"><span id="date-year">月</span></div>
            </div>

        </div>
        <div class="sell-person-list">
          <ul>
              <li>
                  <div class="person-img"><img src="image/photo-small.png"></div>
                  <div class="person-content">
                      <span class="f14 pb3">周XX</span>
                      <span class="f12 graycolor">13635248569</span>
                  </div>
                  <div class="person-orderNum">
                      <span class="f14">今日<i class="pl5 pr5">1</i>单</span>
                  </div>
                  <div class="cb"></div>
              </li>
          </ul>
        </div>
    </div>

 </div>
</body>
<script type="text/javascript" src="config/jquery-2.1.4.min.js"></script>
<script>
    $(function () {
        $("#xs-seniorty").addClass("border-sell-style");
        $("#date-day").addClass("border-date-style");
        /*技师排名*/
        $("#js-seniorty").click(function () {
            $("#xs-seniorty").removeClass("border-sell-style");
            $(this).addClass("border-sell-style");
        });
        /*销售排名*/
        $("#xs-seniorty").click(function () {
            $("#js-seniorty").removeClass("border-sell-style");
            $(this).addClass("border-sell-style");
        });
        /*日*/
        $("#date-day").click(function () {
            $("#date-year").removeClass("border-date-style");
            $(this).addClass("border-date-style");
            $(".sell-person-list").find("li .person-orderNum").css('color','black');
        });
        /*月*/
        $("#date-year").click(function () {
            $("#date-day").removeClass("border-date-style");
            $(this).addClass("border-date-style");
            $(".sell-person-list").find("li .person-orderNum").css('color','red');
        });
    });
</script>
</html>